    var curIndex=0;
	//时间间隔 单位毫秒
	var timeInterval=500;
	var arr=new Array();
	arr[0]="yu1.png";
	arr[1]="yu2.png";
	arr[2]="yu3.png";
	var times=setInterval(changeImg,timeInterval);
	function changeImg(){
		var obj=document.getElementById('showpic');
		if (curIndex==arr.length-1){
			curIndex=0;
		}else{
			curIndex+=1;
		}
		obj.src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/images/newYear/"+arr[curIndex];
	}
    
    $('.dian').addClass('magictime bounceIn delay15')
	$('.title').addClass('animated bounceInLeft')
	$('.brt').addClass('animated bounceIn delay10')
	$('.cheng .zhishi').addClass('animated bounceIn')
	var mymuis=document.getElementById("musicfx")
	$('#d_tab29').DB_rotateRollingBanner({
		key:"c37080",            
		moveSpeed:200,           
		autoRollingTime:2000      
	})
	function mymusi(){
    	document.getElementById('zhuc').src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/images/newYear/8.png";
		$('.cheng').fadeIn();
		mymuis.src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/mp3/newYear/zui.mp3"
		mymuis.play();
		mymuis.loop=false;
		mymuis.addEventListener('ended',function(){
//			clearInterval(times);
			$('.cheng').delay(1000).fadeOut();
		},false)
	}
	function mymusitwo(){
		document.getElementById('zhuc').src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/images/newYear/4.png";
		$('.cheng').fadeIn();
		mymuis.src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/mp3/newYear/lin.mp3"
		mymuis.play();
		mymuis.loop=false;
		mymuis.addEventListener('ended',function(){
//			clearInterval(times);
			$('.cheng').delay(1000).fadeOut();
		},false)
	}
	function mymusithree(){
		document.getElementById('zhuc').src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/images/newYear/6.png";
		$('.cheng').fadeIn();
		mymuis.src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/mp3/newYear/lai.mp3"
		mymuis.play();
		mymuis.loop=false;
		mymuis.addEventListener('ended',function(){
//			clearInterval(times);
			$('.cheng').delay(1000).fadeOut();
		},false)
	}
	function mymusifous(){
		document.getElementById('zhuc').src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/images/newYear/2.png";
		$('.cheng').fadeIn();
		mymuis.src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/mp3/newYear/gao.mp3"
		mymuis.play();
		mymuis.loop=false;
		mymuis.addEventListener('ended',function(){
//			clearInterval(times);
			$('.cheng').delay(1000).fadeOut();
		},false)
	}
	function mymusifive(){
		document.getElementById('zhuc').src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/images/newYear/1.png";
		$('.cheng').fadeIn();
		mymuis.src="http://g4cdn.shfyuan.com/ws/Mobile/Webroot/gf/mp3/newYear/chen.mp3"
		mymuis.play();
		mymuis.loop=false;
		mymuis.addEventListener('ended',function(){
//			clearInterval(times);
			$('.cheng').delay(1000).fadeOut();
		},false)
	}
	function hiddenImg(){
		$('.cheng').fadeOut();
		mymuis.pause();
	}
	

	